package com.zyp.strategy;

public class TestStrategy {

	public static void main(String[] args) {
		double price=100;
		Context c=null;
		c=new Context(new StrategyA());
		c.doStrategyMethod(price);
		c=new Context(new StrategyB());
		c.doStrategyMethod(price);
		c=new Context(new StrategyC());
		c.doStrategyMethod(price);
	}
	
}
